import { Routes } from '@angular/router';
import { ElementInjectorComponent } from './element-injector.component';

const routes: Routes = [
  {
    path: '',
    component: ElementInjectorComponent,
    children: [
      {
        path: '',
        loadComponent: () => import('./normal/a.component'),
      },
      {
        path: 'render',
        loadComponent: () =>
          import('./render/a-render.component'),
      },
      {
        path: 'lview',
        loadComponent: () =>
          import('./lview/a-lview.component'),
      },
      {
        path: 'lview-no-vp',
        loadComponent: () =>
          import('./lview-no-vp/a-lview-no-vp.component'),
      },
    ],
  },
];

export default routes;
